package com.job.netease;

import java.util.ArrayList;
import java.util.Scanner;

/**
 * @ClassName: test.Netease3
 * @Description:
 * @Author: 12071
 * @Date: 2022/4/16 15:19
 */
public class Netease3 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n= sc.nextInt();
        int m= sc.nextInt();
        sc.nextLine();
        int[] vals = new int[n+1];
        for (int i = 1; i <= n; i++) {
            vals[i] = sc.nextInt();
        }
        sc.nextLine();
        ArrayList<ArrayList<Integer>> map = new ArrayList<>();

        for (int i = 0; i < m; i++) {
        }
    }
}
